/** @author: duanhaijiao  @date 2022/7/5--16:08 **/

/* name: "Breadcrumb" */
<template>
    <div class="Breadcrumb flex flex-align-center">
        <i class="Breadcrumb-tip">
            <img class="img" src="@/assets/imgs/common/mark.png" alt="">
        </i>
        <el-breadcrumb separator="/"  separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: item.path }" v-for="item in lineList" :key="item.path">{{ item.title }}</el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>

<script>

    export default {
        name: "Breadcrumb",
        props:{
            lineList:{
                type:Array,
                default:[
                    {path:'/',title:'首页'}
                ]
            }
        },
        data() {
            return {

            }
        },
        mounted() {

        },
        methods: {}
    };
</script>

<style lang="scss">
    .Breadcrumb{
        height: 40px;
        border-bottom: 1px solid #f1f1f1;
        .Breadcrumb-tip{
            width:14px;
            margin-right: 6px;
            margin-left: 10px;
        }
    }
</style>
